package com.example.medical_delivery_system.service;


import com.example.medical_delivery_system.entity.User;
import com.example.medical_delivery_system.util.PageQueryUtil;
import com.example.medical_delivery_system.util.PageResult;

public interface AdminUserService {

    /**
     * 后台分页
     *
     * @param pageUtil
     * @return
     */
    PageResult getUserPage(PageQueryUtil pageUtil);

    String saveUser(User user);

    String updateUser(User user);

    User getUserById(Long id);

    Boolean deleteBatch(Long[] ids);
}
